package cn.edu.scau.cmi.luotiansheng_chapter10;

import java.io.*;

public class Example10_3 {
	public static void main(String[] args) {
		try {
			Runtime ce=Runtime.getRuntime();
			File file=new File("c:/window","Notepad.exe");
			ce.exec(file.getAbsolutePath());
			file=new File("C;\\Program Files\\Internet Explorer","IEXPLORE www.sohu.com");
			ce.exec(file.getAbsolutePath());
			
			
		}catch(Exception e) {
			System.out.println(e);
		}
	}
}
